package com.wkr.order.service.fallback;

import com.wkr.common.CommonResponse;
import com.wkr.order.feignclient.StoreFeignClient;
import org.springframework.stereotype.Component;

@Component
public class StoreFallBackService implements StoreFeignClient {

    @Override
    public CommonResponse<Boolean> updateTrainStore() {
        return CommonResponse.fail("-1", "库存服务不可用");
    }
}
